package com.mipo.designpattern.factorypattern.abstractfactory.sample.datasourcefacotry;

public abstract class DaoFactory {
	
	public static DaoFactory getInstance(String classname) throws Exception {
		DaoFactory dao = (DaoFactory)Class.forName(classname).newInstance();
		return dao;
	}
	
	abstract IuserDao getuserdao();
	abstract IroleDao getroledao();
	
}